package com.lmc.chatroom.mapper;

import com.lmc.chatroom.model.message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface messageMapper {

    String getLastMessage(Integer sessionId) ;

    List<message> getHistoryMessge(Integer sessionId);


    Integer insertMessge(message messageInfo);
}
